package com.xwj.entity;

import java.io.Serializable;


public class PhotoDetail implements Serializable {

    private static final long serialVersionUID = 4714586286404342580L;
    private String alt; //图片名

    private int pid; //图片id

    private String src; //原图地址

    private String thumb; //缩略图地址

    public PhotoDetail(String alt, int pid, String src, String thumb) {
        this.alt = alt;
        this.pid = pid;
        this.src = src;
        this.thumb = thumb;
    }

    public PhotoDetail() {
    }

    public String getAlt() {
        return alt;
    }

    public void setAlt(String alt) {
        this.alt = alt;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    @Override
    public String toString() {
        return "PhotoDetail{" +
                "alt='" + alt + '\'' +
                ", pid=" + pid +
                ", src='" + src + '\'' +
                ", thumb='" + thumb + '\'' +
                '}';
    }
}